﻿CREATE TABLE [dbo].[tblCustomerPromo] (
    [PromoID]        INT           NOT NULL,
    [CustomerNumber] INT           NOT NULL,
    [CreateDate]     SMALLDATETIME NULL,
    [UserID]         INT           NULL
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Promotion id', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCustomerPromo',
	@level2type = N'COLUMN', @level2name = N'PromoID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Customer number', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCustomerPromo',
	@level2type = N'COLUMN', @level2name = N'CustomerNumber';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Date the promotion is created', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCustomerPromo',
	@level2type = N'COLUMN', @level2name = N'CreateDate';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'User who created the promotion', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCustomerPromo',
	@level2type = N'COLUMN', @level2name = N'UserID';

